package com.li.shop.service;

import com.li.shop.domain.Dictionary;
import com.li.shop.utils.SearchDictionaryResponse;

import java.util.List;

public interface DictionaryService {
    List<Dictionary> list();
    void add(Dictionary dictionary);
    int delete(String dId);
   // Dictionary get(String dId);

    //void delete(String dId);

    Dictionary get(String dId);

    //int update(Dictionary dictionary);
    void update(Dictionary dictionary);
    //List<Dictionary> findAll();
    List<Dictionary> findAll();
    int saveDictionary(Dictionary dictionary);
    SearchDictionaryResponse listUser(Integer pageSize, Integer pageNum, String keyword);
    String  updatepath(Dictionary dictionary);
    String  updatename(Dictionary dictionary);


}
